package com.uni.dto;

import java.util.Date;

import javax.validation.constraints.NotBlank;

import lombok.NoArgsConstructor;

import lombok.Data;

/**
 * 购物车
 * @author yuyanzheng
 *
 */
@NoArgsConstructor
@Data
public class ShoppingCartDTO {
	private Long id;
	private Long userId;
	private Long shopId;
	@NotBlank(message="不能为空")
	private Long shopCommodityId;
	private Integer number;
	private Date updateTime;
	private Date createTime;
	
	private ShopCommodityDTO shopCommodity;
}
